{include file="public/header"}  
<body>
    <div class="wrapper">
        {include file="public/nav"}  
        <div id="page-wrapper" style="min-height: 325px;">
            <div class="row">
	            <div class="col-lg-12">
	                <h1 class="page-header">文章查看</h1>
	            </div>
	            <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
	            <div class="col-lg-12">
                    <table width="100%" class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>编号</th>
                                <th>名称</th>
                                <th>开启/关闭</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="data" id="vo"}
                            <tr>
                                <td>{$vo.art_id}</td>
                                <td>{$vo.art_title}</td>
                                <td>
                                    {switch name="vo.art_status"}
                                    {case value="0"}可用{/case}
                                    {case value="1"}禁用{/case}
                                    {/switch}
                                </td>
                                <td>
                                    <button type="button" class="btn btn-danger btn-xs">删除</button>
                                    <a href="edit.html?id={$vo.art_id}" type="button" class="btn btn-success btn-xs">修改</button>
                                </td>

                            </tr>
                            {/volist}
                        </tbody>
                    </table>
                    {$page}
	            </div>
	            <!-- /.panel -->
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
    </div>
    </div>
    {include file="public/footer"}
</body>
